/* eslint-disable */
export function CustomConnectionLine({
  fromX,
  fromY,
  toX,
  toY,
  connectionStatus,
  fromNode,
  toNode,
  toHandle,
}) {
  return (
    <g stroke="blue" strokeWidth="2" fill="none">
      <path
        id="test1"
        data-fromx={fromX}
        data-fromy={fromY}
        data-tox={toX}
        data-toy={toY}
        data-dir={toY - fromY > 0 ? 1 : 2}
        data-connstatus={connectionStatus}
        data-tonode={toNode?.position.y}
      ></path>
    </g>
  )
}
